package cn.icanci.loopstack.ddk.common.socket.trigger;

import cn.icanci.loopstack.ddk.common.model.config.RegisterVO;
import cn.icanci.loopstack.ddk.common.socket.publish.PublishTypeEnum;

import java.io.Serializable;
import java.util.List;

/**
 * @author icanci
 * @since 1.0 Created in 2023/01/12 08:38
 */
public class TriggerDTO implements Serializable {
    /**
     * 发布类型
     */
    private PublishTypeEnum  publishType;
    /**
     * 注册信息
     */
    private List<RegisterVO> registers;

    public PublishTypeEnum getPublishType() {
        return publishType;
    }

    public void setPublishType(PublishTypeEnum publishType) {
        this.publishType = publishType;
    }

    public List<RegisterVO> getRegisters() {
        return registers;
    }

    public void setRegisters(List<RegisterVO> registers) {
        this.registers = registers;
    }
}
